package com.example.accountingapp;

import androidx.appcompat.app.AppCompatActivity;

import android.annotation.SuppressLint;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;


public class MainActivity extends AppCompatActivity {
    private Button btnABC1, btnABC2, btnABC3,  btnABC4, btnABC5, btnABC6,btnABC7, btnABC8,btnExit;


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        btnABC1 = findViewById(R.id.btnABC1);
        btnABC2 = findViewById(R.id.btnABC2);
        btnABC3 = findViewById(R.id.btnABC3);
        btnABC4 = findViewById(R.id.btnABC4);
        btnABC5 = findViewById(R.id.btnABC5);
        btnABC6 = findViewById(R.id.btnABC6);
        btnABC7 = findViewById(R.id.btnABC7);
        btnABC8 = findViewById(R.id.btnABC8);
        btnExit = findViewById(R.id.btnExit);


        btnABC4.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(MainActivity.this, AccountSecurityActivity.class);
                startActivity(intent);
            }
        });

        btnABC5.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(MainActivity.this, illustrate.class);
                startActivity(intent);
            }
        });



        btnExit.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
    }
}